home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wildcat Files 2
/
The Wildcat Files 2 (Arsenal Computer).ISO
/
wccode
/
whoson.wcx
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1995-03-03
|
1KB
|
86 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 1218 bytes 01/31/123 10:08:50pm
'! Code Segment Size :944 bytes
'! Data Segment Size :5337 bytes
'! String Segment Size:274 bytes
'! Compiled with WCC version 4.10
Dim i4463 As Integer
Dim s4465 As String
Dim i4469 As Integer
Dim nir4471 As NodeInfoRecord
Dim ur4657 As UserRecord
Dim s5307 As String
Dim l5311 As Long
Dim l5315 As Long
Dim l5319 As Long
Dim d5323 As Date
Dim l5325 As Long
Dim l5329 As Long
Dim l5333 As Long
Dim l65530_ As Long
Dim i65534_ As Integer
Print "@0F@ # Baud Alias Access Sex Age"
Print "@0E@--- ------ --------------------------- --------- --- ---"
79 For i4469 = 0 To MaxNode Step 1
If MasterInfo.ActiveNode(i4469) Then
GetNodeInfo nir4471, i4469
If nir4471.NodeStatus >= 1 And nir4471.NodeStatus <= 3 Then
Print "@0B@"; LeftPad(Str(i4469), 3); " @0E@";
If nir4471.NodeStatus = 1 Then
Print " OPEN @0F@Line Clear"
Else
256 If nir4471.BaudRate > 0 Then
Print LeftPad(Str(nir4471.BaudRate), 6); " @0F@";
Else
308 Print " LOCAL @0F@";
End If
317 If nir4471.NodeStatus = 2 Then
Print "Caller is logging in"
Else
351 If nir4471.NodeStatus = 3 Then
GetUser(ur4657, nir4471.CallersName)
s5307 = FormatDate(ur4657.BirthDate, "YY")
l5311 = Val(s5307)
s5307 = FormatDate(ur4657.BirthDate, "MM")
l5315 = Val(s5307)
s5307 = FormatDate(ur4657.BirthDate, "DD")
l5319 = Val(s5307)
CurrentDate d5323
s5307 = FormatDate(d5323, "YY")
l5325 = Val(s5307)
s5307 = FormatDate(d5323, "MM")
l5329 = Val(s5307)
s5307 = FormatDate(d5323, "DD")
l5333 = Val(s5307)
i4463 = l5325 - l5311
If l5329 = l5315 And l5319 < l5333 Then
i4463 = i4463 - 1
End If
633 If l5329 < l5315 Then
i4463 = i4463 - 1
End If
665 If ur4657.Sex = 0 Then
s4465 = "?"
End If
693 If ur4657.Sex = 1 Then
s4465 = "M"
End If
722 If ur4657.Sex = 2 Then
s4465 = "F"
End If
751 If ur4657.Alias <> "" Then
Print Pad(Left(ur4657.Alias, 20), 20); , ; ur4657.SecLevel; , ; s4465; , ; i4463
Else
849 Print ur4657.Name; , ; ur4657.SecLevel; , ; s4465; , ; i4463
End If
End If
End If
End If
End If
End If
906 Next
929 WaitEnter